<?php
namespace Home\Controller;
use Think\Controller\RestController;
class IndexController extends RestController {
    public function index(){
        //显示
        IsLogin();
       $this->display ();
    }
    public function navigation(){
        //参数传递
       $nav=array(array("title"=>"信息展示","hrefString"=>"information"),
                    array("title"=>"信息录入","hrefString"=>"inforInput"),
                    array("title"=>"系统日志","hrefString"=>"systemLog"),
                    array("title"=>"人员管理","hrefString"=>"member")
            );
       $this->response($nav,'json');
    }
}